<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script >
  fetch('http://172.25.38.252:3000/li').then(async r => {
    console.log(await r.json())
  })
</script>
<body>
  <h3> 留言板 </h3>

  <form method="get" action="http://172.25.38.252:3000/text">
    姓名:<br>
    <input type="text" name="name" >
    <br>
    留言内容:<br>
    <input type="text" name="text" >
    <br><br>
    喜好:<br>
    <input type="radio" name="like" value="apple" >苹果
    <input type="radio" name="like" value="orange" >橘子
    <br><br>
    <input type="file" name="file"> 文件上传
    <input type="submit" value="提交">
  </form>

</body>
</html>